<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="author" content="wangbo">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>模块化使用</title>
</head>

<body>
    <script src="./chp09模块演变0.js"></script>
    <!-- <script>
        function add () {
            console.log("add")
        }

        let num = 10;
        function show () {
            console.log("show")
            console.log(num);
        }
    </script> -->
    <script>
        // 变量和函数名,都不可以在定义了
        // 改num ,导入的js 方法会变
        num = 200
        show()
    </script>
</body>

</html>